<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="css/style.css">
    <title>添加商品</title>
</head>
<body>
<div class="bg">
    <div class="join">
        <form action="${pageContext.request.contextPath}/shopadd.do" method="post" class="form-horizontal" role="form"  enctype="multipart/form-data">
            <input type="hidden" name="id" value="${param.id}"/>
            <div class="form-group">
                <label class="style1">商品名称：</label>
                <div class="style">
                    <input type="text" name="shopname" class="form-control" placeholder="商品名称">
                </div>
            </div>
            <div class="form-group">
                <label class="style1">商品信息:</label>
                <div class="style">
                    <textarea name="content" class="form-control" rows="3"></textarea>
                </div>
            </div>

			<div class="form-group">
                <label class="style1">价格</label>
                <div class="style">
                    <input type="text" name="price" class="form-control" placeholder="价格">
                </div>
            </div>
			
            <div class="form-group">
                <label class="style1">商品图片</label>
                <div id="uploader-demo" class="style">
                    <!--用来存放item-->
                    <div id="fileList" class="uploader-list">
                    </div>
                    <input type="file" name="picture" class="form-control">
                </div>
            </div>
            <div class="form-group">
                <label class="style1">生产日期</label>
                <div class="style">
                    <input type="date" name="producedate" class="form-control" placeholder="生产日期">
                </div>
            </div>
            <div class="form-group">
                <label class="style1">生产厂家</label>
                <div class="style">
                    <input type="text" name="produce" class="form-control" placeholder="生产厂家">
                </div>
            </div>
            
       		<div class="form-group">
                <label class="style1">数量</label>
                <div class="style">
                    <input type="text" name="shoptotal" class="form-control" placeholder="数量">
                </div>
            </div>
            <div class="form-group">
                <div class="style">
                    <button type="submit" class="btn">保存</button>
                </div>
            </div>
        </form>
    </div>
</div>
</body>
</html>